//************************************************ 
//  *Author：jxx
//  *QQ：283591387
//  *代码由框架生成,任何更改都可能导致被代码生成器覆盖
//  *业务请在q_warehouse_allot.js中编写
//************************************************ 
export default function() {
	return {
		editFormFields: {},
		editFormOptions: [],
		searchFormFields: {"Coding":"","WHSE_name_out":"","WHSE_name_in":"","AuditStatus":""},
		searchFormOptions: [{"title":"单据编码","field":"Coding","type":"text"},{"key":"audit","data":[],"title":"审核状态","field":"AuditStatus","type":"select"},{"type":"group"},{"key":"一级仓库","data":[],"title":"调出机构","field":"WHSE_name_out","type":"select"},{"key":"一级仓库","data":[],"title":"调入机构","field":"WHSE_name_in","type":"select"}],
		columns: [{field:'Coding',title:'单据编码',type:'string',link:true,readonly:true},
                       {field:'Goods_num',title:'调出数量',type:'float',readonly:true},
                       {field:'WHSE_name_out',title:'调出机构',type:'string',bind:{ key:'一级仓库',data:[]}},
                       {field:'WHSE_name_in',title:'调入机构',type:'string',bind:{ key:'一级仓库',data:[]}},
                       {field:'Remark',title:'备注',type:'string'},
                       {field:'AuditStatus',title:'审核状态',type:'int',bind:{ key:'audit',data:[]},readonly:true}],
		table: {
			key: 'Allot_id',
			footer: "Foots",
			cnName: '商品调拨',
			name: 'q_warehouse_allot',
			url: "/q_warehouse_allot/",
			sortName: "Coding"
		}
	}
}
